package com.youtui.manager.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.youtui.manager.entity.WithdrawalEntity;
import com.youtui.manager.model.Withdrawal;
import com.youtui.manager.model.WithdrawalExample;

public interface WithdrawalMapper {
    int countByExample(WithdrawalExample example);

    int deleteByExample(WithdrawalExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Withdrawal record);

    int insertSelective(Withdrawal record);

    List<Withdrawal> selectByExample(WithdrawalExample example);

    Withdrawal selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Withdrawal record, @Param("example") WithdrawalExample example);

    int updateByExample(@Param("record") Withdrawal record, @Param("example") WithdrawalExample example);

    int updateByPrimaryKeySelective(Withdrawal record);

    int updateByPrimaryKey(Withdrawal record);
    
    List<WithdrawalEntity> selectWithdrawalEntityPageList(Map<String, Object> map);
    
}